﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200045F RID: 1119
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterFightActivityStageCsReq : IMessage<EnterFightActivityStageCsReq>, IMessage, IEquatable<EnterFightActivityStageCsReq>, IDeepCloneable<EnterFightActivityStageCsReq>, IBufferMessage
	{
		// Token: 0x17000E61 RID: 3681
		// (get) Token: 0x0600324F RID: 12879 RVA: 0x0008A257 File Offset: 0x00088457
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterFightActivityStageCsReq> Parser
		{
			get
			{
				return EnterFightActivityStageCsReq._parser;
			}
		}

		// Token: 0x17000E62 RID: 3682
		// (get) Token: 0x06003250 RID: 12880 RVA: 0x0008A25E File Offset: 0x0008845E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterFightActivityStageCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000E63 RID: 3683
		// (get) Token: 0x06003251 RID: 12881 RVA: 0x0008A270 File Offset: 0x00088470
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterFightActivityStageCsReq.Descriptor;
			}
		}

		// Token: 0x06003252 RID: 12882 RVA: 0x0008A277 File Offset: 0x00088477
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterFightActivityStageCsReq()
		{
		}

		// Token: 0x06003253 RID: 12883 RVA: 0x0008A2A0 File Offset: 0x000884A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterFightActivityStageCsReq(EnterFightActivityStageCsReq other) : this()
		{
			this.aAKFBNJMLEJ_ = other.aAKFBNJMLEJ_.Clone();
			this.fightStageId_ = other.fightStageId_;
			this.itemList_ = other.itemList_.Clone();
			this.avatarList_ = other.avatarList_.Clone();
			this.groupId_ = other.groupId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003254 RID: 12884 RVA: 0x0008A30F File Offset: 0x0008850F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterFightActivityStageCsReq Clone()
		{
			return new EnterFightActivityStageCsReq(this);
		}

		// Token: 0x17000E64 RID: 3684
		// (get) Token: 0x06003255 RID: 12885 RVA: 0x0008A317 File Offset: 0x00088517
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<DCOEJEOFDON> AAKFBNJMLEJ
		{
			get
			{
				return this.aAKFBNJMLEJ_;
			}
		}

		// Token: 0x17000E65 RID: 3685
		// (get) Token: 0x06003256 RID: 12886 RVA: 0x0008A31F File Offset: 0x0008851F
		// (set) Token: 0x06003257 RID: 12887 RVA: 0x0008A327 File Offset: 0x00088527
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FightStageId
		{
			get
			{
				return this.fightStageId_;
			}
			set
			{
				this.fightStageId_ = value;
			}
		}

		// Token: 0x17000E66 RID: 3686
		// (get) Token: 0x06003258 RID: 12888 RVA: 0x0008A330 File Offset: 0x00088530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> ItemList
		{
			get
			{
				return this.itemList_;
			}
		}

		// Token: 0x17000E67 RID: 3687
		// (get) Token: 0x06003259 RID: 12889 RVA: 0x0008A338 File Offset: 0x00088538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x17000E68 RID: 3688
		// (get) Token: 0x0600325A RID: 12890 RVA: 0x0008A340 File Offset: 0x00088540
		// (set) Token: 0x0600325B RID: 12891 RVA: 0x0008A348 File Offset: 0x00088548
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x0600325C RID: 12892 RVA: 0x0008A351 File Offset: 0x00088551
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterFightActivityStageCsReq);
		}

		// Token: 0x0600325D RID: 12893 RVA: 0x0008A360 File Offset: 0x00088560
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterFightActivityStageCsReq other)
		{
			return other != null && (other == this || (this.aAKFBNJMLEJ_.Equals(other.aAKFBNJMLEJ_) && this.FightStageId == other.FightStageId && this.itemList_.Equals(other.itemList_) && this.avatarList_.Equals(other.avatarList_) && this.GroupId == other.GroupId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600325E RID: 12894 RVA: 0x0008A3E8 File Offset: 0x000885E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.aAKFBNJMLEJ_.GetHashCode();
			if (this.FightStageId != 0U)
			{
				num ^= this.FightStageId.GetHashCode();
			}
			num ^= this.itemList_.GetHashCode();
			num ^= this.avatarList_.GetHashCode();
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600325F RID: 12895 RVA: 0x0008A46A File Offset: 0x0008866A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003260 RID: 12896 RVA: 0x0008A472 File Offset: 0x00088672
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003261 RID: 12897 RVA: 0x0008A47C File Offset: 0x0008867C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.avatarList_.WriteTo(ref output, EnterFightActivityStageCsReq._repeated_avatarList_codec);
			this.itemList_.WriteTo(ref output, EnterFightActivityStageCsReq._repeated_itemList_codec);
			if (this.FightStageId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.FightStageId);
			}
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.GroupId);
			}
			this.aAKFBNJMLEJ_.WriteTo(ref output, EnterFightActivityStageCsReq._repeated_aAKFBNJMLEJ_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003262 RID: 12898 RVA: 0x0008A508 File Offset: 0x00088708
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.aAKFBNJMLEJ_.CalculateSize(EnterFightActivityStageCsReq._repeated_aAKFBNJMLEJ_codec);
			if (this.FightStageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FightStageId);
			}
			num += this.itemList_.CalculateSize(EnterFightActivityStageCsReq._repeated_itemList_codec);
			num += this.avatarList_.CalculateSize(EnterFightActivityStageCsReq._repeated_avatarList_codec);
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003263 RID: 12899 RVA: 0x0008A598 File Offset: 0x00088798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterFightActivityStageCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.aAKFBNJMLEJ_.Add(other.aAKFBNJMLEJ_);
			if (other.FightStageId != 0U)
			{
				this.FightStageId = other.FightStageId;
			}
			this.itemList_.Add(other.itemList_);
			this.avatarList_.Add(other.avatarList_);
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003264 RID: 12900 RVA: 0x0008A61B File Offset: 0x0008881B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003265 RID: 12901 RVA: 0x0008A624 File Offset: 0x00088824
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 24U)
				{
					if (num == 8U || num == 10U)
					{
						this.avatarList_.AddEntriesFrom(ref input, EnterFightActivityStageCsReq._repeated_avatarList_codec);
						continue;
					}
					if (num == 24U)
					{
						goto IL_5C;
					}
				}
				else if (num <= 48U)
				{
					if (num == 26U)
					{
						goto IL_5C;
					}
					if (num == 48U)
					{
						this.FightStageId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 72U)
					{
						this.GroupId = input.ReadUInt32();
						continue;
					}
					if (num == 122U)
					{
						this.aAKFBNJMLEJ_.AddEntriesFrom(ref input, EnterFightActivityStageCsReq._repeated_aAKFBNJMLEJ_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_5C:
				this.itemList_.AddEntriesFrom(ref input, EnterFightActivityStageCsReq._repeated_itemList_codec);
			}
		}

		// Token: 0x040013B9 RID: 5049
		private static readonly MessageParser<EnterFightActivityStageCsReq> _parser = new MessageParser<EnterFightActivityStageCsReq>(() => new EnterFightActivityStageCsReq());

		// Token: 0x040013BA RID: 5050
		private UnknownFieldSet _unknownFields;

		// Token: 0x040013BB RID: 5051
		public const int AAKFBNJMLEJFieldNumber = 15;

		// Token: 0x040013BC RID: 5052
		private static readonly FieldCodec<DCOEJEOFDON> _repeated_aAKFBNJMLEJ_codec = FieldCodec.ForMessage<DCOEJEOFDON>(122U, DCOEJEOFDON.Parser);

		// Token: 0x040013BD RID: 5053
		private readonly RepeatedField<DCOEJEOFDON> aAKFBNJMLEJ_ = new RepeatedField<DCOEJEOFDON>();

		// Token: 0x040013BE RID: 5054
		public const int FightStageIdFieldNumber = 6;

		// Token: 0x040013BF RID: 5055
		private uint fightStageId_;

		// Token: 0x040013C0 RID: 5056
		public const int ItemListFieldNumber = 3;

		// Token: 0x040013C1 RID: 5057
		private static readonly FieldCodec<uint> _repeated_itemList_codec = FieldCodec.ForUInt32(26U);

		// Token: 0x040013C2 RID: 5058
		private readonly RepeatedField<uint> itemList_ = new RepeatedField<uint>();

		// Token: 0x040013C3 RID: 5059
		public const int AvatarListFieldNumber = 1;

		// Token: 0x040013C4 RID: 5060
		private static readonly FieldCodec<uint> _repeated_avatarList_codec = FieldCodec.ForUInt32(10U);

		// Token: 0x040013C5 RID: 5061
		private readonly RepeatedField<uint> avatarList_ = new RepeatedField<uint>();

		// Token: 0x040013C6 RID: 5062
		public const int GroupIdFieldNumber = 9;

		// Token: 0x040013C7 RID: 5063
		private uint groupId_;
	}
}
